home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-04-25 | 1.4 KB | 76 lines | [TEXT/MPS ] |
- //
- // File: SLASinks.idl
- //
- // Contains: Interface for abstract sink classes
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
-
- #ifndef SLASINKS_IDL
- #define SLASINKS_IDL
-
- #ifndef FWENVDEF_IDL
- #include "FWEnvDef.idl"
- #endif
-
- #include <somobj.idl>
- #include <somcls.idl>
-
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface FW_OSink;
-
-
- //==============================================================================
- // Classes used by this interface
- //==============================================================================
-
-
- //==============================================================================
- // FW_OSink
- //==============================================================================
-
- interface FW_OSink : SOMObject
- {
- long GetReadableBytes();
- void Read(in void * destination, in long count);
-
- long GetWritableBytes();
- void Write(in void* source, in long count);
-
- #ifdef __SOMIDL__
- implementation
- {
- functionprefix = "FW_OSink__";
-
- override:
- somInit,
- somUninit;
-
- releaseorder:
- somInit,
- somUninit,
-
- GetReadableBytes,
- Read,
- GetWritableBytes,
- Write;
-
- majorversion = 1;
- minorversion = 0;
-
- passthru C_xh =
- "";
-
- passthru C_xih =
- "";
- };
- #endif
- };
-
-
- #endif
-